{% extends "base.html" %}
{% import "bootstrap/wtf.html" as wtf %}
{% import "_macros.html" as macros %}

{% block title %}Flasky{% endblock %}

{% block page_content %}
<div class="page-header">
    <!-- <h1>欢迎, {% if current_user.is_authenticated %}{{ current_user.username }}{% else %}陌生人{% endif %}!</h1> -->
	<h1> {% if current_user.is_authenticated %} 地点推荐结果： {% else %} 请登录！{% endif %} </h1>
</div>
<!--
<div>
	<span>{{ macros.search_bar(form) }}</span>   
</div> -->
{% include '_posts.html' %}
{% if pagination %}
<div class="pagination">
    {{ macros.pagination_widget(pagination, '.search') }}
</div>
{% endif %}
{% endblock %}
